package com.zzh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@EnableCaching
@MapperScan("com.zzh.dao")
public class App {
    /**
     * @param args
     * @SpringBootApplication 组合
     * @EnableAutoConfiguration
     * @ComponentScan
     */
    public static void main(String[] args) {
        SpringApplication.run(App.class);
    }
    /**
     *  @ComponentScan 扫包范围 com.zzh.service
     *  当前启动类同级包或者子包下面
     */

}
